import { createRouter, createMemoryHistory, createWebHashHistory } from "vue-router";

import Data from "../pages/data/data"
import Dynamic from "../pages/dynamic/dynamic"
import Mine from "../pages/mine/mine"
import Notice from "../pages/notice/notice"
import Moon from "../pages/mine/moon"
import Lunbo from "../pages/login/lunbo"
import Denglu from "../pages/login/denglu"
import Xuanze from "../pages/login/xuanze"
import Dlk from "../pages/login/dlk"
import Zhuce from "../pages/login/zhuce"


export default createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      redirect: 'lunbo'
    },
    {
      path: '/data',
      name: 'data',
      component: Data,
    },
    {
      path: '/dynamic',
      name: 'dynamic',
      component: Dynamic,
    },
    {
      path: '/mine',
      name: 'mine',
      component: Mine,
    },
    {
      path: '/notice',
      name: 'notice',
      component: Notice,
    },
    {
      path: '/moon',
      name: 'moon',
      component: Moon,
    },
    {
      path: '/lunbo',
      name: 'lunbo',
      component: Lunbo,
    },
    {
      path: '/denglu',
      name: 'denglu',
      component: Denglu,
    },
    {
      path: '/xuanze',
      name: 'xuanze',
      component: Xuanze,
    },
    {
      path:'/dlk',
      name:'dlk',
      component:Dlk
    },
    {
      path: '/zhuce',
      name: 'zhuce',
      component: Zhuce,
    },
  ]
})